/*
 * An XML document type.
 * Localname: BrokerInformation
 * Namespace: http://www.hpsearch.org/schemas/2006/05/BSA
 * Java type: cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument
 *
 * Automatically generated - do not modify.
 */
package cgl.narada.mgmt.schemas.bsa;


/**
 * A document containing one BrokerInformation(@http://www.hpsearch.org/schemas/2006/05/BSA) element.
 *
 * This is a complex type.
 */
public interface BrokerInformationDocument extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(BrokerInformationDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEFF8C5A1D88B5DFE2B6938A210CF65CD").resolveHandle("brokerinformation738edoctype");
    
    /**
     * Gets the "BrokerInformation" element
     */
    cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument.BrokerInformation getBrokerInformation();
    
    /**
     * Sets the "BrokerInformation" element
     */
    void setBrokerInformation(cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument.BrokerInformation brokerInformation);
    
    /**
     * Appends and returns a new empty "BrokerInformation" element
     */
    cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument.BrokerInformation addNewBrokerInformation();
    
    /**
     * An XML BrokerInformation(@http://www.hpsearch.org/schemas/2006/05/BSA).
     *
     * This is a complex type.
     */
    public interface BrokerInformation extends org.apache.xmlbeans.XmlObject
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(BrokerInformation.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEFF8C5A1D88B5DFE2B6938A210CF65CD").resolveHandle("brokerinformatione96delemtype");
        
        /**
         * Gets the "nodeId" element
         */
        java.lang.String getNodeId();
        
        /**
         * Gets (as xml) the "nodeId" element
         */
        org.apache.xmlbeans.XmlString xgetNodeId();
        
        /**
         * Sets the "nodeId" element
         */
        void setNodeId(java.lang.String nodeId);
        
        /**
         * Sets (as xml) the "nodeId" element
         */
        void xsetNodeId(org.apache.xmlbeans.XmlString nodeId);
        
        /**
         * Gets the "ipAddress" element
         */
        java.lang.String getIpAddress();
        
        /**
         * Gets (as xml) the "ipAddress" element
         */
        org.apache.xmlbeans.XmlString xgetIpAddress();
        
        /**
         * Sets the "ipAddress" element
         */
        void setIpAddress(java.lang.String ipAddress);
        
        /**
         * Sets (as xml) the "ipAddress" element
         */
        void xsetIpAddress(org.apache.xmlbeans.XmlString ipAddress);
        
        /**
         * Gets the "nodeAddressAssigned" element
         */
        boolean getNodeAddressAssigned();
        
        /**
         * Gets (as xml) the "nodeAddressAssigned" element
         */
        org.apache.xmlbeans.XmlBoolean xgetNodeAddressAssigned();
        
        /**
         * Sets the "nodeAddressAssigned" element
         */
        void setNodeAddressAssigned(boolean nodeAddressAssigned);
        
        /**
         * Sets (as xml) the "nodeAddressAssigned" element
         */
        void xsetNodeAddressAssigned(org.apache.xmlbeans.XmlBoolean nodeAddressAssigned);
        
        /**
         * Gets the "gatewayAddressAssigned" element
         */
        boolean getGatewayAddressAssigned();
        
        /**
         * Gets (as xml) the "gatewayAddressAssigned" element
         */
        org.apache.xmlbeans.XmlBoolean xgetGatewayAddressAssigned();
        
        /**
         * Sets the "gatewayAddressAssigned" element
         */
        void setGatewayAddressAssigned(boolean gatewayAddressAssigned);
        
        /**
         * Sets (as xml) the "gatewayAddressAssigned" element
         */
        void xsetGatewayAddressAssigned(org.apache.xmlbeans.XmlBoolean gatewayAddressAssigned);
        
        /**
         * Gets array of all "brokerConnections" elements
         */
        cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument.BrokerInformation.BrokerConnections[] getBrokerConnectionsArray();
        
        /**
         * Gets ith "brokerConnections" element
         */
        cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument.BrokerInformation.BrokerConnections getBrokerConnectionsArray(int i);
        
        /**
         * Returns number of "brokerConnections" element
         */
        int sizeOfBrokerConnectionsArray();
        
        /**
         * Sets array of all "brokerConnections" element
         */
        void setBrokerConnectionsArray(cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument.BrokerInformation.BrokerConnections[] brokerConnectionsArray);
        
        /**
         * Sets ith "brokerConnections" element
         */
        void setBrokerConnectionsArray(int i, cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument.BrokerInformation.BrokerConnections brokerConnections);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "brokerConnections" element
         */
        cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument.BrokerInformation.BrokerConnections insertNewBrokerConnections(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "brokerConnections" element
         */
        cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument.BrokerInformation.BrokerConnections addNewBrokerConnections();
        
        /**
         * Removes the ith "brokerConnections" element
         */
        void removeBrokerConnections(int i);
        
        /**
         * An XML brokerConnections(@).
         *
         * This is a complex type.
         */
        public interface BrokerConnections extends org.apache.xmlbeans.XmlObject
        {
            public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
                org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(BrokerConnections.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEFF8C5A1D88B5DFE2B6938A210CF65CD").resolveHandle("brokerconnections8fa5elemtype");
            
            /**
             * Gets the "linkId" element
             */
            java.lang.String getLinkId();
            
            /**
             * Gets (as xml) the "linkId" element
             */
            org.apache.xmlbeans.XmlString xgetLinkId();
            
            /**
             * Sets the "linkId" element
             */
            void setLinkId(java.lang.String linkId);
            
            /**
             * Sets (as xml) the "linkId" element
             */
            void xsetLinkId(org.apache.xmlbeans.XmlString linkId);
            
            /**
             * Gets the "destination" element
             */
            java.lang.String getDestination();
            
            /**
             * Gets (as xml) the "destination" element
             */
            org.apache.xmlbeans.XmlString xgetDestination();
            
            /**
             * Sets the "destination" element
             */
            void setDestination(java.lang.String destination);
            
            /**
             * Sets (as xml) the "destination" element
             */
            void xsetDestination(org.apache.xmlbeans.XmlString destination);
            
            /**
             * Gets the "port" element
             */
            int getPort();
            
            /**
             * Gets (as xml) the "port" element
             */
            org.apache.xmlbeans.XmlInt xgetPort();
            
            /**
             * Sets the "port" element
             */
            void setPort(int port);
            
            /**
             * Sets (as xml) the "port" element
             */
            void xsetPort(org.apache.xmlbeans.XmlInt port);
            
            /**
             * Gets the "protocol" element
             */
            java.lang.String getProtocol();
            
            /**
             * Gets (as xml) the "protocol" element
             */
            org.apache.xmlbeans.XmlString xgetProtocol();
            
            /**
             * Sets the "protocol" element
             */
            void setProtocol(java.lang.String protocol);
            
            /**
             * Sets (as xml) the "protocol" element
             */
            void xsetProtocol(org.apache.xmlbeans.XmlString protocol);
            
            /**
             * A factory class with static methods for creating instances
             * of this type.
             */
            
            public static final class Factory
            {
                public static cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument.BrokerInformation.BrokerConnections newInstance() {
                  return (cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument.BrokerInformation.BrokerConnections) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
                
                public static cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument.BrokerInformation.BrokerConnections newInstance(org.apache.xmlbeans.XmlOptions options) {
                  return (cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument.BrokerInformation.BrokerConnections) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
                
                private Factory() { } // No instance of this class allowed
            }
        }
        
        /**
         * A factory class with static methods for creating instances
         * of this type.
         */
        
        public static final class Factory
        {
            public static cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument.BrokerInformation newInstance() {
              return (cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument.BrokerInformation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument.BrokerInformation newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument.BrokerInformation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
            
            private Factory() { } // No instance of this class allowed
        }
    }
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument newInstance() {
          return (cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (cgl.narada.mgmt.schemas.bsa.BrokerInformationDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
